<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <title>温江人大代表之家</title>
    <script type="text/javascript" src="<%=path %>/js/jquery1.4.2.js"></script>
    <script type="text/javascript" src="<%=path %>/js/upload.js"></script>
    <script type="text/javascript">
       var width ="${width }";
       var height = "${height }";
       var x1 = "${x1 }";
       var y1 = "${y1 }";
       var x2 = "${x2 }";
       var y2 = "${y2 }";
       var destWidth = "${destWidth }";
       var destHeight = "${destHeight }";
       var previewWidth = "${previewWidth }";
       var previewHeight = "${previewHeight }";
       var path = "${path }";
       var prefix = "${prefix }";
       var fileExt = "${fileExt}";
       var minSize = "${minSize }";
       var maxSize = "${maxSize }";
       var isImg = "${isImg }";
       var cover = "${cover}";
       var param = {"width":width,"height":height,"x1":x1,"y1":y1,"x2":x2,"y2":y2,
                    "destWidth":destWidth,"destHeight":destHeight,"previewWidth":previewWidth,"previewHeight":previewHeight,"path":path,"prefix":prefix,
                    "fileExt":fileExt,"minSize":minSize,"maxSize":maxSize,"isImg":isImg,"cover":cover};
       $(document).ready(function () {
           var arg = WrapParam(param);
           $("#frame").attr("src","<%=path%>/permit/upload/InitUpload.do" + arg);
       });
    </script>
  </head>
    <frameset cols="*">
       <frame id="frame" src="#"/>
    </frameset>
 
</html>
